/**
 * @description 首页视频处理层
 */

const {
    SuccessModel,
    ErrorModel
} = require('../model/ResModel')

const { getVideo } = require('../services/video')

async function video() {
    console.log(456);
    const result = await getVideo()
    return new SuccessModel(result[0])
}

module.exports = {
    video
}